package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 versions_upgrade
 * 
 * @author ruoyi
 * @date 2023-08-30
 */
@ApiModel("版本管理")
public class VersionsUpgrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("id")
    private Long id;

    /** 版本号 */
    @ApiModelProperty("版本号")
    @Excel(name = "版本号")
    private String verNumber;

    /** 更新内容 */
    @ApiModelProperty("更新内容")
    @Excel(name = "更新内容")
    private String upContent;

    /** 更新日期 */
    @ApiModelProperty("更新日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /** 更新作者 */
    @ApiModelProperty("更新作者")
    @Excel(name = "更新作者")
    private String upUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVerNumber(String verNumber) 
    {
        this.verNumber = verNumber;
    }

    public String getVerNumber() 
    {
        return verNumber;
    }
    public void setUpContent(String upContent) 
    {
        this.upContent = upContent;
    }

    public String getUpContent() 
    {
        return upContent;
    }
    public void setUpTime(Date upTime) 
    {
        this.upTime = upTime;
    }

    public Date getUpTime() 
    {
        return upTime;
    }
    public void setUpUser(String upUser) 
    {
        this.upUser = upUser;
    }

    public String getUpUser() 
    {
        return upUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("verNumber", getVerNumber())
            .append("upContent", getUpContent())
            .append("upTime", getUpTime())
            .append("upUser", getUpUser())
            .toString();
    }
}
